package edu.lingnan.lmlibrary.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName(value = "t_desk")
public class Desk {
    private static final long serialVersionUID = 1L;
    /*
    * 编号（自增）
    * */
    @TableId(value = "d_id",type = IdType.AUTO)
    private Integer dId;

    /*
    * 桌子对应的楼层
    * */
    private Integer fId;


    /*
    * 桌子对应的座位数
    * */
    private Integer seatCount;

    /*
    * 桌子名称（第几桌）
    * */
    private String dName;
}
